﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Collections.ObjectModel;
using System.Drawing;
using System.Windows.Media.Imaging;


namespace intern_project1.ViewModel
{
    public class MainDiagnosisImageViewModel
    {
		ObservableCollection<Diaglmg> diagImgs = new ObservableCollection<Diaglmg>();

/* 진단 이미지 데이터 입력 */
        public MainDiagnosisImageViewModel()
        {
            
        }

/* 객체데이터 인캡슐화 */
        
        public ObservableCollection<Diaglmg> DiagImgs
        {
            get { return diagImgs; }
            set { diagImgs = value; }
        }
    }

/* DiagImg 클래스 */
    public class Diaglmg        // Diagnosis Image
    {
        Bitmap pImg;
        Image image;

        string imagePath;
        string bottomImagePath1;
        string bottomImagePath2;
        string bottomImagePath3;
        string bottomImagePath4;
        string bottomImagePath5;
        string bottomImagePath6;
        string bottomImagePath7;
        string bottomImagePath8;

        /* DiagImg 생성자 */
        
        public Diaglmg(Bitmap img)
        {
            pImg = img;
        }
        public Diaglmg(Image img)
        {
            image = img;
        }
        public Diaglmg(string imageP, string bimageP1, string bimageP2, string bimageP3, string bimageP4, string bimageP5, string bimageP6, string bimageP7, string bimageP8)
        {
            imagePath = imageP;
            bottomImagePath1 = bimageP1;
            bottomImagePath2 = bimageP2;
            bottomImagePath3 = bimageP3;
            bottomImagePath4 = bimageP4;
            bottomImagePath5 = bimageP5;
            bottomImagePath6 = bimageP6;
            bottomImagePath7 = bimageP7;
            bottomImagePath8 = bimageP8;
        }
        
   
        public Bitmap PImg
        {
            get { return pImg; }
            set { pImg = value; }
        }
        public Image Image
        {
            get { return image; }
            set { image = value; }
        }

        public string ImagePath
        {
            get { return imagePath; }
            set { imagePath = value; }
        }
        public string BottomImagePath1
        {
            get { return bottomImagePath1; }
            set { bottomImagePath1 = value; }
        }
        public string BottomImagePath2
        {
            get { return bottomImagePath2; }
            set { bottomImagePath2 = value; }
        }
        public string BottomImagePath3
        {
            get { return bottomImagePath3; }
            set { bottomImagePath3 = value; }
        }
        public string BottomImagePath4
        {
            get { return bottomImagePath4; }
            set { bottomImagePath4 = value; }
        }
        public string BottomImagePath5
        {
            get { return bottomImagePath5; }
            set { bottomImagePath5 = value; }
        }
        public string BottomImagePath6
        {
            get { return bottomImagePath6; }
            set { bottomImagePath6 = value; }
        }
        public string BottomImagePath7
        {
            get { return bottomImagePath7; }
            set { bottomImagePath7 = value; }
        }
        public string BottomImagePath8
        {
            get { return bottomImagePath8; }
            set { bottomImagePath8 = value; }
        }

    }

    
}